#include <iostream>
#include<conio.h>
using namespace std;

class Rectangle {
	int width, height;
public:
	Rectangle() {}
	Rectangle(int x, int y) : width(x), height(y) {}
	int area() { return width * height; }
	friend void printf(Rectangle param);
};

void printf(Rectangle param)
{
	cout << param.width << '\n';
	cout << param.height << '\n';
}